LoadPicture

Loads an image from an image document file to the imaG.

Syntax: imaG.LoadPiture path
path (string) The path of the image document file.
Returns: TRUE if the action was concluded - FALSE if an error occur.
   

SUPPORTED FILE TYPES

  File Description Constant
  BMP caFileBmp = 0
  GIF caFileGif = 1
  JPG caFileJpg = 2
  TIF caFileTif = 3 (Win98 or higher with imgedit.ocx)
     

If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.

See Supported Files , SavePicture